php remove class attribute

39

php remove class attribute -

$html = preg_replace('/class=".*?"/', '', $html);

Comments

Submit
0 Comments